<%--
  Created by IntelliJ IDEA.
  User: jiangxuchuan
  Date: 2022/1/8
  Time: 13:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Judge Integer</title>
</head>
<body>
    <%
        request.setAttribute("x",5);
    %>
    <c:if test="${requestScope.x > 0 && requestScope.x < 10}">
        <h1 style="color: aquamarine">${requestScope.x}</h1>
        <h1 style="color: blueviolet">1 - 10 之间的整数</h1>
    </c:if>
    <c:if test="${requestScope.x > 11 && requestScope.x < 20}">
        <h1 style="color: fuchsia">${requestScope.x}</h1>
        <h1 style="color: aquamarine">11 - 20 之间的整数</h1>
    </c:if>
</body>
</html>
